\hypertarget{class_beautiful_soup_1_1_i_cant_believe_its_beautiful_soup}{
\section{BeautifulSoup.ICantBelieveItsBeautifulSoup Class Reference}
\label{class_beautiful_soup_1_1_i_cant_believe_its_beautiful_soup}\index{BeautifulSoup::ICantBelieveItsBeautifulSoup@{BeautifulSoup::ICantBelieveItsBeautifulSoup}}
}


Inheritance diagram for BeautifulSoup.ICantBelieveItsBeautifulSoup:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=400pt]{class_beautiful_soup_1_1_i_cant_believe_its_beautiful_soup__inherit__graph}
\end{center}
\end{figure}


Collaboration diagram for BeautifulSoup.ICantBelieveItsBeautifulSoup:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=400pt]{class_beautiful_soup_1_1_i_cant_believe_its_beautiful_soup__coll__graph}
\end{center}
\end{figure}
\subsection*{Static Public Attributes}
\begin{DoxyCompactItemize}
\item 
\hypertarget{class_beautiful_soup_1_1_i_cant_believe_its_beautiful_soup_a2546c63e3d3f80da263921a4d64c224f}{
{\bfseries I\_\-CANT\_\-BELIEVE\_\-THEYRE\_\-NESTABLE\_\-INLINE\_\-TAGS} = $\backslash$}
\label{class_beautiful_soup_1_1_i_cant_believe_its_beautiful_soup_a2546c63e3d3f80da263921a4d64c224f}

\item 
\hypertarget{class_beautiful_soup_1_1_i_cant_believe_its_beautiful_soup_a55ed4d16d642c6690c6d783e2e8c879c}{
tuple {\bfseries I\_\-CANT\_\-BELIEVE\_\-THEYRE\_\-NESTABLE\_\-BLOCK\_\-TAGS} = ('noscript',)}
\label{class_beautiful_soup_1_1_i_cant_believe_its_beautiful_soup_a55ed4d16d642c6690c6d783e2e8c879c}

\item 
tuple {\bfseries NESTABLE\_\-TAGS}
\end{DoxyCompactItemize}


\subsection{Detailed Description}
\begin{DoxyVerb}The BeautifulSoup class is oriented towards skipping over
common HTML errors like unclosed tags. However, sometimes it makes
errors of its own. For instance, consider this fragment:

 <b>Foo<b>Bar</b></b>

This is perfectly valid (if bizarre) HTML. However, the
BeautifulSoup class will implicitly close the first b tag when it
encounters the second 'b'. It will think the author wrote
"<b>Foo<b>Bar", and didn't close the first 'b' tag, because
there's no real-world reason to bold something that's already
bold. When it encounters '</b></b>' it will close two more 'b'
tags, for a grand total of three tags closed instead of two. This
can throw off the rest of your document structure. The same is
true of a number of other tags, listed below.

It's much more common for someone to forget to close a 'b' tag
than to actually use nested 'b' tags, and the BeautifulSoup class
handles the common case. This class handles the not-co-common
case: where you can't believe someone wrote what they did, but
it's valid HTML and BeautifulSoup screwed up by assuming it
wouldn't be.\end{DoxyVerb}
 

\subsection{Member Data Documentation}
\hypertarget{class_beautiful_soup_1_1_i_cant_believe_its_beautiful_soup_a62732d47dd264e1a57b3271b2f3ced2c}{
\index{BeautifulSoup::ICantBelieveItsBeautifulSoup@{BeautifulSoup::ICantBelieveItsBeautifulSoup}!NESTABLE\_\-TAGS@{NESTABLE\_\-TAGS}}
\index{NESTABLE\_\-TAGS@{NESTABLE\_\-TAGS}!BeautifulSoup::ICantBelieveItsBeautifulSoup@{BeautifulSoup::ICantBelieveItsBeautifulSoup}}
\subsubsection[{NESTABLE\_\-TAGS}]{\setlength{\rightskip}{0pt plus 5cm}tuple BeautifulSoup.ICantBelieveItsBeautifulSoup.NESTABLE\_\-TAGS\hspace{0.3cm}{\ttfamily  \mbox{[}static\mbox{]}}}}
\label{class_beautiful_soup_1_1_i_cant_believe_its_beautiful_soup_a62732d47dd264e1a57b3271b2f3ced2c}
{\bfseries Initial value:}
\begin{DoxyCode}
buildTagMap([], BeautifulSoup.NESTABLE_TAGS,
                                I_CANT_BELIEVE_THEYRE_NESTABLE_BLOCK_TAGS,
                                I_CANT_BELIEVE_THEYRE_NESTABLE_INLINE_TAGS)
\end{DoxyCode}


Reimplemented from \hyperlink{class_beautiful_soup_1_1_beautiful_soup}{BeautifulSoup.BeautifulSoup}.



The documentation for this class was generated from the following file:\begin{DoxyCompactItemize}
\item 
BeautifulSoup.py\end{DoxyCompactItemize}
